<?php
use think\facade\Route;

if(sysconfig('system.safe_dir')&&(strpos($_SERVER['REQUEST_URI'],'login/capcha')===false&&strpos($_SERVER['REQUEST_URI'],'login/out')===false)) {
    Route::rule('logins/:v', 'Login/index');
}

